html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

/*4K(4096×2160)*/
@media only screen and (max-height: 2160px) {
  html {
    font-size: 32px;
  }

  .4k {
  }
}

/*2K(2048×1080)*/
@media only screen and (max-height: 1080px) {
  html {
    font-size: 16px;
  }

  .4k {
    display: none;
  }
}

/*1920×1080*/
@media only screen and (max-height: 1080px) {
  html {
    font-size: 16px;
  }

  .4k {
    display: none;
  }
}

* {
  font-weight: 100;
}

img {
  /*修正img底部空白*/
  vertical-align: middle;
}

:root {
  --text-color: #eeeeee;
  --text-info-color: #2db7f5;
  --text-success-color: #19be6b;
  --text-warning-color: #ff9900;
  --text-danger-color: #ed4014;
}

/*主容器*/
.ds-continer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  overflow: hidden;
  z-index: 0;

  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

/*主容器头部*/
.ds-continer > .ds-header {
  flex-grow: 0;
}

/*主容器内容*/
.ds-continer > .ds-content {
  height: 0;
  flex-grow: 1;
  margin-top: 1.25rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
  margin-bottom: 1.25rem;
}

/*主容器脚部*/
.ds-continer > .ds-footer {
  flex-grow: 0;
}

/*水平分布*/
.ds-horizontal {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: stretch;
}

.ds-horizontal > * {
  margin-left: 0.625rem;
  margin-right: 0.625rem;
}

.ds-horizontal > :first-child {
  margin-left: 0 !important;
}

.ds-horizontal > :last-child {
  margin-right: 0 !important;
}

.ds-horizontal > .ds-w809 {
  flex-basis: 80.9%;
}

.ds-horizontal > .ds-w618 {
  flex-basis: 61.8%;
}

.ds-horizontal > .ds-w382 {
  flex-basis: 38.2%;
}

.ds-horizontal > .ds-w191 {
  flex-basis: 19.1%;
}

.ds-horizontal > .ds-w80 {
  flex-basis: 80%;
}

.ds-horizontal > .ds-w70 {
  flex-basis: 70%;
}

.ds-horizontal > .ds-w60 {
  flex-basis: 60%;
}

.ds-horizontal > .ds-w50 {
  flex-basis: 50%;
}

.ds-horizontal > .ds-w40 {
  flex-basis: 40%;
}

.ds-horizontal > .ds-w30 {
  flex-basis: 30%;
}

.ds-horizontal > .ds-w25 {
  flex-basis: 25%;
}

.ds-horizontal > .ds-w20 {
  flex-basis: 20%;
}

.ds-horizontal > .ds-grow {
  flex-grow: 1;
  width: 1%;
}

/*垂直分布*/
.ds-vertical {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.ds-vertical > * {
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
}

.ds-vertical > :first-child {
  margin-top: 0 !important;
}

.ds-vertical > :last-child {
  margin-bottom: 0 !important;
}

.ds-vertical > .ds-h618 {
  flex-basis: 61.8%;
}

.ds-vertical > .ds-h382 {
  flex-basis: 38.2%;
}

.ds-vertical > .ds-h191 {
  flex-basis: 19.1%;
}

.ds-vertical > .ds-h80 {
  flex-basis: 80%;
}

.ds-vertical > .ds-h60 {
  flex-basis: 60%;
}

.ds-vertical > .ds-h50 {
  flex-basis: 50%;
}

.ds-vertical > .ds-h40 {
  flex-basis: 40%;
}

.ds-vertical > .ds-h30 {
  flex-basis: 30%;
}

.ds-vertical > .ds-h25 {
  flex-basis: 25%;
}

.ds-vertical > .ds-h20 {
  flex-basis: 20%;
}

.ds-vertical > .ds-grow {
  flex-grow: 1;
  height: 1%;
}

/*层叠*/
.ds-stack {
  position: relative;
}

.ds-stack > * {
  position: absolute !important;
}

/*层叠时填满父容器*/
.ds-stack > .ds-full {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.ds-stack > .ds-top {
  top: 0;
}

.ds-stack > .ds-top-10 {
  top: 10%;
}

.ds-stack > .ds-top-20 {
  top: 20%;
}

.ds-stack > .ds-top-30 {
  top: 30%;
}

.ds-stack > .ds-top-40 {
  top: 40%;
}

.ds-stack > .ds-left {
  left: 0;
}

.ds-stack > .ds-left-10 {
  left: 10%;
}

.ds-stack > .ds-left-20 {
  left: 20%;
}

.ds-stack > .ds-left-30 {
  left: 30%;
}

.ds-stack > .ds-left-40 {
  left: 40%;
}

.ds-stack > .ds-right {
  right: 0;
}

.ds-stack > .ds-right-10 {
  right: 10%;
}

.ds-stack > .ds-right-20 {
  right: 20%;
}

.ds-stack > .ds-right-30 {
  right: 30%;
}

.ds-stack > .ds-right-40 {
  right: 40%;
}

.ds-stack > .ds-bottom {
  bottom: 0;
}

.ds-stack > .ds-bottom-10 {
  bottom: 10%;
}

.ds-stack > .ds-bottom-20 {
  bottom: 20%;
}

.ds-stack > .ds-bottom-30 {
  bottom: 30%;
}

.ds-stack > .ds-bottom-40 {
  bottom: 40%;
}

.ds-stack > .ds-center {
  left: 50%;
  transform: translate(-50%, 0);
}

.ds-stack > .ds-middle {
  top: 50%;
  transform: translate(0, -50%);
}

.ds-stack > .ds-center-middle {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ds-stack > .ds-fixed {
  position: static !important;
}

.ds-stack > .ds-w618 {
  width: 61.8%;
}

.ds-stack > .ds-w382 {
  width: 38.2%;
}

.ds-stack > .ds-w191 {
  width: 19.1%;
}

.ds-stack > .ds-w80 {
  width: 80%;
}

.ds-stack > .ds-w60 {
  width: 60%;
}

.ds-stack > .ds-w50 {
  width: 50%;
}

.ds-stack > .ds-w40 {
  width: 40%;
}

.ds-stack > .ds-w30 {
  width: 30%;
}

.ds-stack > .ds-w25 {
  width: 25%;
}

.ds-stack > .ds-w20 {
  width: 20%;
}

.ds-stack > .ds-h618 {
  height: 61.8%;
}

.ds-stack > .ds-h382 {
  height: 38.2%;
}

.ds-stack > .ds-h191 {
  height: 19.1%;
}

.ds-stack > .ds-h80 {
  height: 80%;
}

.ds-stack > .ds-h60 {
  height: 60%;
}

.ds-stack > .ds-h50 {
  height: 50%;
}

.ds-stack > .ds-h40 {
  height: 40%;
}

.ds-stack > .ds-h30 {
  height: 30%;
}

.ds-stack > .ds-h25 {
  height: 25%;
}

.ds-stack > .ds-h20 {
  height: 20%;
}

/*流动*/
.ds-flow,
.ds-flow2,
.ds-flow3,
.ds-flow4,
.ds-flow5 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}

.ds-flow > * {
  box-sizing: border-box;
}

.ds-flow2 > * {
  box-sizing: border-box;
  flex-basis: 50%;
}

.ds-flow3 > * {
  box-sizing: border-box;
  flex-basis: 33.3%;
}

.ds-flow4 > * {
  box-sizing: border-box;
  flex-basis: 25%;
}

.ds-flow5 > * {
  box-sizing: border-box;
  flex-basis: 20%;
}

/*分栏*/
.ds-column2 {
  column-count: 2;
  column-gap: 1.25rem;
  column-width: auto;
}

/*分栏*/
.ds-column3 {
  column-count: 3;
  column-gap: 1.25rem;
  column-width: auto;
}

/*分栏*/
.ds-column4 {
  column-count: 4;
  column-gap: 1.25rem;
  column-width: auto;
}

/*分栏*/
.ds-column5 {
  column-count: 5;
  column-gap: 1.25rem;
  column-width: auto;
}

/*浮动*/
.ds-float {
  position: absolute;
}

.ds-mask {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
}

.ds-box {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.ds-box > :not(:first-child) {
  margin-top: 0.625rem;
}

.ds-box > .ds-grow {
  flex-grow: 1;
  height: 1%;
}

.ds-box > hr {
  height: 0;
  width: 100%;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  flex-grow: 0 !important;
  border-top: 1px solid rgba(00, 255, 255, 0.2);
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.ds-box1 {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.ds-box1 > :not(:last-child) {
  margin-bottom: 0.625rem;
}

.ds-box1 > .ds-grow {
  flex-grow: 1;
  height: 1%;
}

.ds-box1 > hr {
  height: 0;
  width: 100%;
  padding: 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  flex-grow: 0 !important;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(00, 255, 255, 0.2);
}

.ds-box2 {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
}

.ds-box2 > :not(:first-child) {
  margin-left: 0.625rem;
}

.ds-box2 > .ds-grow {
  flex-grow: 1;
  width: 1%;
}

.ds-box2 > .ds-right {
  text-align: right;
}

.ds-box2 > hr {
  height: 100%;
  width: 0;
  padding: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  flex-grow: 0 !important;
  border-top: none;
  border-left: 1px solid rgba(00, 255, 255, 0.2);
  border-right: none;
  border-bottom: none;
}

.ds-box3 {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-end;
  align-items: stretch;
}

.ds-box3 > :not(:last-child) {
  margin-right: 0.625rem;
}

.ds-box3 > .ds-left {
  text-align: left;
}

.ds-box3 > .ds-grow {
  flex-grow: 1;
  width: 1%;
}

.ds-box3 > hr {
  height: 100%;
  width: 0;
  padding: 0;
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 0;
  flex-grow: 0 !important;
  border-top: none;
  border-left: none;
  border-right: 1px solid rgba(00, 255, 255, 0.2);
  border-bottom: none;
}

/*滚动条*/
.ds-scroll {
  overflow: hidden;
}

.ds-scroll-x {
  overflow: hidden;
}

.ds-scroll-y {
  overflow: hidden;
}

.ds-scroll::-webkit-scrollbar,
.ds-scroll-x::-webkit-scrollbar,
.ds-scroll-y::-webkit-scrollbar {
  width: 0.375rem;
  height: 0.375rem;
}

.ds-scroll::-webkit-scrollbar-track,
.ds-scroll-x::-webkit-scrollbar-track,
.ds-scroll-y::-webkit-scrollbar-track {
  display: none;
}

.ds-scroll::-webkit-scrollbar-thumb,
.ds-scroll-x::-webkit-scrollbar-thumb,
.ds-scroll-y::-webkit-scrollbar-thumb {
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.2);
}

.ds-scroll::-webkit-scrollbar-corner,
.ds-scroll-x::-webkit-scrollbar-corner,
.ds-scroll-y::-webkit-scrollbar-corner {
  display: none;
}

.ds-scroll:hover {
  overflow: scroll;
  overflow: overlay;
}

.ds-scroll-x:hover {
  overflow-y: hidden;
  overflow-x: scroll;
  overflow-x: overlay;
}

.ds-scroll-y:hover {
  overflow-y: scroll;
  overflow-y: overlay;
  overflow-x: hidden;
}

/*自动根据父容器计算大小*/
.ds-auto-size {
  box-sizing: border-box;
  width: calc(100%);
  height: calc(100%);
}

.ds-auto-width {
  box-sizing: border-box;
  width: calc(100%);
}

.ds-auto-height {
  box-sizing: border-box;
  height: calc(100%);
}

.ds-button {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
}

[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}

.ds-button-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.ds-label {
  display: inline-block;
  width: 6.25rem;
}

.ds-label1 {
  display: block;
}

.ds-input {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.5;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.3);
  background-clip: padding-box;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  outline: none;
}

.ds-input:focus {
}

/*水平居中*/
.ds-align-center {
  left: 50%;
  position: relative;
  display: inline-block;
  transform: translate(-50%, 0);
}

/*垂直居中*/
.ds-align-middle {
  top: 50%;
  position: relative;
  display: inline-block;
  transform: translate(0, -50%);
}

/*水平垂直居中*/
.ds-align-center-middle {
  top: 50%;
  left: 50%;
  position: relative;
  display: inline-block;
  transform: translate(-50%, -50%);
}

/*阴影*/
.ds-shadow {
  box-shadow: 0 1rem 0.375rem rgba(0, 0, 0, 0.8);
}

.ds-shadow1 {
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.6);
}

/*文本*/
.ds-h1 {
  color: var(--text-color);
  font-size: 3.5rem;
  line-height: 7rem;
  text-align: center;
}

.ds-h2 {
  color: var(--text-color);
  font-size: 3rem;
  line-height: 6rem;
  text-align: center;
}

.ds-h3 {
  color: var(--text-color);
  font-size: 2.5rem;
  line-height: 5rem;
  text-align: center;
}

.ds-h4 {
  color: var(--text-color);
  font-size: 2rem;
  line-height: 4rem;
  text-align: center;
}

.ds-h5 {
  color: var(--text-color);
  font-size: 1.5rem;
  line-height: 3rem;
  text-align: center;
}

.ds-text1 {
  color: var(--text-color);
  font-size: 1.4rem;
}

.ds-text2 {
  color: var(--text-color);
  font-size: 1.2rem;
}

.ds-text3 {
  color: var(--text-color);
  font-size: 1rem;
}

.ds-text4 {
  color: var(--text-color);
  font-size: 0.8rem;
}

.ds-text5 {
  color: var(--text-color);
  font-size: 0.6rem;
}

.ds-text-info {
  color: #2db7f5;
}

.ds-text-success {
  color: #19be6b;
}

.ds-text-warning {
  color: #ff9900;
}

.ds-text-danger {
  color: #ed4014;
}

.ds-box-info {
  color: #ccc;
  padding: 0.625rem;
  border-radius: 0.625rem;
  /*background-color: #17a2b8;*/
  /*background-color: rgba(23, 162, 184, .8);*/
  background-color: rgb(45, 183, 245, 0.6);
}

.ds-box-success {
  color: #ccc;
  padding: 0.625rem;
  border-radius: 0.625rem;
  /*background-color: #28a745;*/
  /*background-color: rgba(40, 167, 69, .8);*/
  background-color: rgb(25, 190, 107, 0.6);
}

.ds-box-warning {
  color: #ccc;
  padding: 0.625rem;
  border-radius: 0.625rem;
  /*background-color: #ffc107;*/
  /*background-color: rgba(255, 193, 7, .8);*/
  background-color: rgb(255, 153, 0, 0.6);
}

.ds-box-danger {
  color: #ccc;
  padding: 0.625rem;
  border-radius: 0.625rem;
  /*background-color: #dc3545;*/
  /*background-color: rgba(220, 53, 69, .8);*/
  background-color: rgb(237, 64, 20, 0.6);
}

/*告警*/
@keyframes warning {
  from {
    color: auto;
  }

  to {
    color: #ffc107;
  }
}

.ds-warning,
.ds-warning * {
  color: #ffc107 !important;
}

.ds-warning1,
.ds-warning1 * {
  animation: warning alternate 0.6s infinite !important;
}

.ds-warning2,
.ds-warning2 * {
  animation: warning alternate 0.3s infinite !important;
}

/*严重*/
@keyframes danger {
  from {
    color: auto;
  }

  to {
    color: #dc3545;
  }
}

.ds-danger,
.ds-danger * {
  color: #dc3545 !important;
}

.ds-danger1,
.ds-danger1 * {
  animation: danger alternate 0.6s infinite !important;
}

.ds-danger2,
.ds-danger2 * {
  animation: danger alternate 0.3s infinite !important;
}

.ds-bg {
  background-color: rgba(2, 25, 59, 0.6);
}

.ds-bg-none {
  background-color: transparent !important;
}
